package com.jr.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
/**
 * 账号登陆输入username  password
 */
public class User {
    /*用户id，序号*/
    private Integer uid;
    /*用户账号*/
    private String username;
    /*用户密码*/
    private String password;
    /* 管理员*/
    private Integer identity;
}
